<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
  <base th:href="@{/}">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title>登录医保贷系统</title>
  <link rel="stylesheet" href="css/style.css">
  <link rel="stylesheet" href="css/login.css">

  <link rel="shortcut icon" href="images/favicon.ico" />
</head>

<body>
  <div class="container-scroller">
    <div class="container-fluid page-body-wrapper full-page-wrapper">
      <div class="content-wrapper d-flex align-items-center auth px-0">
        <div class="row w-100 mx-0">
          <div class="col-lg-4 mx-auto">
            <div class="auth-form-light text-left py-5 px-4 px-sm-5">
              <div class="text-center brand-logo">
                <img src="images/logo.png" alt="logo">
              </div>
              <h4 class="text-center" th:text="#{login.welcom}">欢迎登录医保贷系统</h4>
              <form class="pt-3">
                <div class="form-group">
                	<span th:text="#{login.username}">用户名</span>
                  <input type="text" class="form-control form-control-lg" id="exampleInputEmail1" placeholder="请输入用户名">
                </div>
                <div class="form-group">
                	<span th:text="#{login.password}">密码</span>
                  <input type="password" class="form-control form-control-lg" id="exampleInputPassword1"
                    placeholder="请输入密码">
                </div>
                <div class="mt-3">
                  <a class="btn btn-block btn-primary btn-lg font-weight-medium auth-form-btn"
                    href="main.html">登 录</a>
                </div>
                <div class="my-2 d-flex justify-content-between align-items-center">
                  <a href="#" class="auth-link text-black">忘记密码?</a>
                </div>
                <div class="text-center mt-4 font-weight-light">
                  还没有账号? <a href="#" class="text-primary">来创建一个</a>
                </div>
                <a href="javascript:;" onclick="changeLang('zh')"> 中文 </a>
				<a href="javascript:;" onclick="changeLang('en')"> english </a>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
<script> 

function changeLang(lang){ 
	document.cookie="ClientLanguage="+lang; 
	location.reload(); 
} 

</script>
</html>